import requests

# 引入 requests库 基础服务

model = input("请输入---->")

#url = f'https://www.google.com/search?q={model}'
url = f'https://www.bing.com/search?q={model}'

head = {
    'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36 Edg/97.0.1072.62'
}
#反爬伪装头
resp = requests.get(url, headers=head)

print(resp.text)
